package cn.entity;

import java.io.Serializable;

public class Goods implements Serializable{
    private Integer id;

    private Integer kid;

    private String name;

    private Double price;

    private String pic;

    private String content;

    private Integer xiao;

    private Integer zan;

    private Integer kucun;

    private Double score;

    private String bak1;

    private String bak2;

    private String bak3;

    private Integer isdel;
    
    private Kind kind;
    
    public Kind getKind() {
		return kind;
	}

	public void setKind(Kind kind) {
		this.kind = kind;
	}

	public Goods(Integer id, Integer kid, String name, Double price, String pic, String content, Integer xiao, Integer zan, Integer kucun, Double score, String bak1, String bak2, String bak3, Integer isdel) {
        this.id = id;
        this.kid = kid;
        this.name = name;
        this.price = price;
        this.pic = pic;
        this.content = content;
        this.xiao = xiao;
        this.zan = zan;
        this.kucun = kucun;
        this.score = score;
        this.bak1 = bak1;
        this.bak2 = bak2;
        this.bak3 = bak3;
        this.isdel = isdel;
    }

    public Goods() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getKid() {
        return kid;
    }

    public void setKid(Integer kid) {
        this.kid = kid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getXiao() {
        return xiao;
    }

    public void setXiao(Integer xiao) {
        this.xiao = xiao;
    }

    public Integer getZan() {
        return zan;
    }

    public void setZan(Integer zan) {
        this.zan = zan;
    }

    public Integer getKucun() {
        return kucun;
    }

    public void setKucun(Integer kucun) {
        this.kucun = kucun;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public String getBak1() {
        return bak1;
    }

    public void setBak1(String bak1) {
        this.bak1 = bak1 == null ? null : bak1.trim();
    }

    public String getBak2() {
        return bak2;
    }

    public void setBak2(String bak2) {
        this.bak2 = bak2 == null ? null : bak2.trim();
    }

    public String getBak3() {
        return bak3;
    }

    public void setBak3(String bak3) {
        this.bak3 = bak3 == null ? null : bak3.trim();
    }

    public Integer getIsdel() {
        return isdel;
    }

    public void setIsdel(Integer isdel) {
        this.isdel = isdel;
    }
}